package com.kgc.store.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 质检单
 */
public class Quality implements Serializable {
    private Integer id;
    private String code;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date orderDate;
    private String sourceCode;
    private Integer qualityTypeId;
    private String qualityTypeName;
    private Integer typeId;
    private String typeName;
    private Integer qualityManId;
    private String qualityManName;
    private Integer deptId;
    private String deptName;
    private Integer orderStatus;
    private String notes;
    private Integer isDelete;
    private Integer createId;
    private String createName;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createDate;
    private Integer updateId;
    private String updateName;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public Integer getQualityTypeId() {
        return qualityTypeId;
    }

    public void setQualityTypeId(Integer qualityTypeId) {
        this.qualityTypeId = qualityTypeId;
    }

    public String getQualityTypeName() {
        return qualityTypeName;
    }

    public void setQualityTypeName(String qualityTypeName) {
        this.qualityTypeName = qualityTypeName;
    }

    public Integer getQualityManId() {
        return qualityManId;
    }

    public void setQualityManId(Integer qualityManId) {
        this.qualityManId = qualityManId;
    }

    public String getQualityManName() {
        return qualityManName;
    }

    public void setQualityManName(String qualityManName) {
        this.qualityManName = qualityManName;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Integer updateId) {
        this.updateId = updateId;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    @Override
    public String toString() {
        return "Quality{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", orderDate=" + orderDate +
                ", sourceCode='" + sourceCode + '\'' +
                ", qualityTypeId=" + qualityTypeId +
                ", qualityTypeName='" + qualityTypeName + '\'' +
                ", typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", qualityManId=" + qualityManId +
                ", qualityManName='" + qualityManName + '\'' +
                ", deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", orderStatus=" + orderStatus +
                ", notes='" + notes + '\'' +
                ", isDelete=" + isDelete +
                ", createId=" + createId +
                ", createName='" + createName + '\'' +
                ", createDate=" + createDate +
                ", updateId=" + updateId +
                ", updateName='" + updateName + '\'' +
                ", updateDate=" + updateDate +
                '}';
    }
}
